package com.gdufe.mistakebook.exception;

import lombok.Data;

/**
 * 自定义异常
 *
 * @author lzh
 */
@Data
public class BusinessException extends RuntimeException {

    private Integer code;

    public BusinessException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
